'use strict';

const Controller = require('../core/base_controller');

class MessageController extends Controller {
    // 获取资讯列表
    async getList() {
        await this.message('getList')
    }
    // 删除资讯
    async delMessage() {
        await this.message('delMessage')
    }
    // 修改资讯数据
    async messageChange() {
        await this.message('messageChange')
    }
    // 添加资讯
    async addMessage() {
        await this.message('addMessage')
    }
    // 编辑资讯
    async editMessage() {
        await this.message('editMessage')
    }
}

module.exports = MessageController;